package net.oxygen.upload.model;

import com.google.common.collect.Multimap;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.InputStream;

/**
 * <p>
 * 功能：分块上传实体类
 * </p>
 *
 * @author 陈伟伟
 * @since 2023/12/18 14:47
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UploadPartCreate {

    private String bucketName;

    private String region;

    private String objectName;

    private InputStream data;

    private long length;

    private String uploadId;

    private int partNumber;

    private Multimap<String, String> headers;

    private Multimap<String, String> extraQueryParams;
}
